﻿using Dqs_DAL;
using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Dqs_BLL
{
	public class Seat_BLL
	{
		Seat_DAL seat_DAL = new Seat_DAL();

		public List<SeatInfo> GetSeats()
		{
			return seat_DAL.QuerySeatInfo();
		}

		public bool InsertSeatInfo(SeatInfo seatInfo)
		{
			return seat_DAL.InsertSeatInfo(seatInfo);
		}

		public bool UpdateSeatInfoById(SeatInfo seatInfo)
		{
			return seat_DAL.UpdateSeatInfoById(seatInfo);
		}

		public bool DeleteSeatInfoById(int seatId)
		{
			return seat_DAL.DeleteSeatInfoById(seatId);
		}

	}
}
